﻿<UserControl x:Class="Empanada.EmpanadaPane"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel>
        <TextBlock Text="Check In Comment:" />
        <TextBox Text="{Binding CheckInComment}" />
        <StackPanel Orientation="Horizontal">
            <Button Content="Get Latest" Command="{Binding GetLatestSelectedFileCommand}" />
            <Button Content="Add" Command="{Binding AddSelectedFileCommand}" />
            <Button Content="Check Out" Command="{Binding CheckOutSelectedFileCommand}" />
            <Button Content="Check In" Command="{Binding CheckInSelectedFileCommand}" />
            <Button Content="Undo" Command="{Binding UndoSelectedFileCommand}" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Server Path:" />
            <TextBlock Text="{Binding SelectedServerPath}" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Workspace:" />
            <TextBlock Text="{Binding WorkspaceDisplayName}" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Collection:" />
            <TextBlock Text="{Binding CollectionUri}" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Button Content="Compare" Visibility="Hidden" />
            <Button Content="Open" Visibility="Hidden" />
            <Button Content="Refresh" Visibility="Hidden" />
        </StackPanel>
        <ListBox ItemsSource="{Binding PendingChanges}" />
        <CheckBox Content="Check out files on edit" IsChecked="{Binding CheckOutFilesOnEdit}" />
    </StackPanel>
</UserControl>
